/*
 * ./src/gestion_connection.h
 * Copyright (C) 2009 lameire alexis
 * 
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
#ifndef GESTION_CONNECTION_H
#define GESTION_CONNECTION_H
#include <libircclient/libircclient.h>
#include "fonction_algo.h"

void join_du_bot(irc_session_t * session, const char *event, const char *origin, const char **params, unsigned int count);
void connection_du_bot(irc_session_t * session, const char *event, const char *origin, const char **params, unsigned int count);
/**
 * \brief connection_du_bot : fonction qui vérifie la connection du bot
 * \param argument standard de libircclient lors des callbacks
 * \return aucune
 */
void algo_bot(irc_session_t * session, const char *event, const char *origin, const char **params, unsigned int count);
/*
 * \brief algo_bot : fonction principale du programme : réagis au différentes commendes
 * \param ceux de libircclient
 * \return aucune
 * \return peut étre amener a ferme rle programme
 */
void lister_pseudo(irc_session_t * session, unsigned int event, const char *origin, const char **params, unsigned int count);
/*
 * \brief lister_pseudo : répond au appel de kick(). et inialise réelement les opération de modération
 * \param argument standart de libircclient
 * \return aucune
 * \return peut étre amener a ferme le programme lors des appele au sous fonction
 */
#endif
